import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';
import { BaseEntity } from './base.entity';

/**
 * 简历
 */
@Entity('resume')
export default class Resume extends BaseEntity {
  @PrimaryGeneratedColumn()
  id: number;

  @Column({ comment: '学生ID' })
  student_id: number;

  @Column({ comment: '名称' })
  name: string;

  @Column({ comment: '存储地址' })
  url: string;

  @Column({ comment: '类型' })
  type: string;
}
